package com.agile.springboot.service;

import com.agile.springboot.entity.Question;
import com.agile.springboot.entity.Questionnaire;

import java.util.List;

public interface QuestionService {

    int addQuestion(Question Question);

    int deleteQuestion(String id);

    int pscDeleteQuestion(String id);

    int updateQuestion(Question question);

    Question searchQuestionById(String id);

    List<Question> GetQuestionsByQuestionnaireId(String questionnaire_id);

    List<Question> searchAllSameQuestionByRootId(String id);
}
